package com.qfmy.model.entity.novel;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity
 * @date 2025/4/13
 * @description 书架实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class BookSelf {
    @Schema(description = "书架ID")
    private Integer id;
    
    @Schema(description = "用户ID")
    private Integer userId;
    
    @Schema(description = "小说ID")
    private Integer bookId;
    
    @Schema(description = "上架时间")
    private Date addTime;

    @Schema(description = "书籍")
    private Book book;

    @Schema(description = "章节")
    private Chapter chapter;

    @Schema(description = "最新阅读的章节")
    private Integer lastChapterNumber;

    @Schema(description = "最新阅读的章节名")
    private String lastChapterName;
}